import { useRoutes } from 'react-router-dom';
import Routers from './router/index'
import './App.css'

function App() {
  const routes = useRoutes(Routers)
  return (
    <div className="App">
      {routes}
    </div>
  );
}

export default App;
